<?php if (!defined('THINK_PATH')) exit();?><!doctype html>
<html>
<head>
<meta charset="utf-8">
<title>英正网络[www.xuehen.org]后台登陆</title>
<meta name="robots" content="nofollow" />
<meta name=”viewport” content=”width=device-width, initial-scale=1, maximum-scale=1″>
<link href="/Public/Css/admin-style.css" rel="stylesheet" type="text/css" />
<script language="javascript" type="text/javascript" src="/Public/JS/jquery.js"></script>
<script language="javascript" type="text/javascript" src="/Public/JS/admin-common.js"></script>
</head>

<body>


<form name="form1" method="post" action="<?php echo U('addok');?>">

<div class="nav-table">
<span class="on" href="table-one">添加字段</span>
</div>
<div class="nav-bottom"></div>


<div class="input-box">
<ul id="table-one">
  <li>
   <label for="name">字段</label>
   <input type="text" name="name" id="name" />
  </li>
  <li>
   <label for="title">说明</label>
   <input type="text" name="title" id="title" />
  </li>
 
  <li>
   <label for="content">内容 <a id="load" href="javascript:void(0)">加载编辑器</a> <a id="remove" href="javascript:void(0)">移除编辑器</a></label>
   <textarea name="content" style="width:800px;height:200px;" id="content"></textarea>
   <script language="javascript" type="text/javascript" src="/Public/Plugin/kindeditor/kindeditor.js"></script>
   <script>
	  $(function() {
		  $('#load').click(function() {
			  KindEditor.create('textarea[name="content"]');
		  });
		  $('#remove').click(function() {
			  KindEditor.remove('textarea[name="content"]');
		  });
	  });
  </script>
  </li> 
</ul>

  
  <div class="table-but"><input type="submit" name="button" id="button" value="确 认 添 加"></div>
</div>
</form>

</body>
</html>